package com.ocom.mqsimple.feign;

import com.ocom.common.constant.WebApiServiceUrl;
import com.ocom.common.resp.Result;
import com.ocom.common.response.web.ExcelApplyRequest;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import javax.validation.Valid;


@FeignClient(value = "webapi")
public interface WebApiClientService {


    @PostMapping(WebApiServiceUrl.URL_saveExcelHandle)
    public Result getExcel(@RequestBody @Valid ExcelApplyRequest excelApplyRequest);

}


